package com.cloud.async.result.core.product;

import cn.hutool.core.util.ObjectUtil;

/**
 * @author chengrui
 * @title: AsyncResult
 * @projectName webCloudAsync
 * @description: 结果处理抽象类
 * @date 2021/10/11 22:40
 */
public abstract class AsyncResult {



    /**
     * 获取结果
     * @param jsonStr
     * @return
     */
    public  abstract String getResult(String jsonStr);


    /**
     * 返回指定类型的key
     * @param returnObject
     * @param <T>
     * @return
     */
    public  abstract <T> T getResult(Class<T> requiredType,Object returnObject);

}
